import request from '@/utils/request'

// 查询风险管理-已采取的风险控制措施列表
export function listDealRiskAdoptedMeasure(query) {
  return request({
    url: '/riskAdoptedMeasure/dealRiskAdoptedMeasure/list',
    method: 'get',
    params: query
  })
}

// 查询风险管理-已采取的风险控制措施详细
export function getDealRiskAdoptedMeasure(id) {
  return request({
    url: '/riskAdoptedMeasure/dealRiskAdoptedMeasure/' + id,
    method: 'get'
  })
}

// 保存风险管理-已采取的风险控制措施
export function saveDealRiskAdoptedMeasure(data) {
  return request({
    url: '/riskAdoptedMeasure/dealRiskAdoptedMeasure/save',
    method: 'post',
    data: data
  })
}

// 删除风险管理-已采取的风险控制措施
export function delDealRiskAdoptedMeasure(id) {
  return request({
    url: '/riskAdoptedMeasure/dealRiskAdoptedMeasure/' + id,
    method: 'delete'
  })
}

// 导出风险管理-已采取的风险控制措施
export function exportDealRiskAdoptedMeasure(query) {
  return request({
    url: '/riskAdoptedMeasure/dealRiskAdoptedMeasure/export',
    method: 'get',
    params: query
  })
}
